package com.xbts.common.core.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @author : llk
 * @Date: 2023/12/29 17:19
 */
@Getter
@RequiredArgsConstructor
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum DateTypeEnum implements IEnum<String> {

    MONTH("月"),
    WEEK("周"),
    DAY("天")
    ;

    private final String desc;

    @Override
    public String getValue() {
        return name();
    }
}
